package com.zhanghe.study.springcloud2.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zh
 * @date 2021/9/23 15:00
 */
@RestController
public class TestJmeterController {

    @RequestMapping("ip")
    public String test(@RequestParam("ip") String ip){
        System.out.println(ip);
        return ip;
    }

    @RequestMapping("testIp")
    public String testIp(String ip){
        System.out.println(ip);
        return ip;
    }
}
